"""
__project__ = 'thc'
__file_name__ = 'json转换'
__author__ = 'thc'
__time__ = '2021/1/14/014 14:11'
__product_name = PyCharm
-*- coding:utf-8 -*-
"""

import json


my_dict = {'id': '001', 'user': 'tom'}
print(type(my_dict))
json_str = json.dumps(my_dict)
print(type(json_str))
print(json_str)
py_str = json.loads(json_str)
print(type(py_str))
print(py_str)
